搜索资源列表
timer_interrupt
- freescale MCF5485EVB开发板上中断操作示例,利用一个timer产生中断,另外3个timer作为GPIO,使3g个LED每隔1秒钟轮换亮一次。-freescale MCF5485EVB interrupt the operational example of the development board, using a timer generate an interrupt, another three timer as a GPIO, so 3g a LED light at
Timer32BitRTC
- 基于《Stellaris外设驱动库》的例程:定时器32位RTC用法示例(32.768kHz振荡信号从CCP2管脚输入,RTC时钟从UART2输出) 本实验程序演示了如何使用定时器配置为32为RTC模式,并使用RTC定时器产生匹配中断。每次进入中断函数中由串口发送显示一次当前时间,初始时间假设为9:58:40。 本实验需要一个32.768kHz的RTC时钟源,本范例把TIMER0A配置成了16位PWM模式,利用CCP0脚输出频率大致为32768Hz的PWM波,免去了用户外接32
dingshiqi
- 利用单片机内置的定时器实现定时时间到后产生中断功能-The use of single-chip built-in timer to achieve timing
8253clock
- 本实验利用8253做定时器,用定时器输出的脉冲控制8259产生中断 在8259中断处理程序中,对时、分、秒进行计数,在等待中断的循 环中用LED显示时间。 8253用定时器/计数器1,8253片选接CS4,地址为0C000H。8253时钟 源CLK1接分频电路的F/64输出。分频器的Fin接4MHz时钟。8253的 GATE1接VCC。 8259中断INT0接8253的OUT1,片选接CS5,地址为0D000H。 显示电路的KEY/LED CS 接CS0
zhuansubiao
- 利用89C-51单片机作为主控器组成一个转速表。由转动电机提供计数脉冲。设置定时器/计数器T0和T1,内部定时器T0设置为定时方式,且定时时间为50ms,即每50ms定时器T0中断一次,中断20次达到1秒;计数器T1设置为外部脉冲计数工作方式,并将初值置为0FFFFH,转动电机每转一周产生一个脉冲使得计数器加1溢出产生中断,设在1s内测量的脉冲个数为n即为测到的转动电机的转速。-The use of 89C-51 microcontroller as master composed of a t
jiaotongdeng
- 并行接口8255,定时/计时器8253,中断控制器8259A与计算机相连,通过8253产生1Hz的方波,并编程得到计时器,然后利用8259的中断功能和8255的并口输出数据功能做了一实时操作系统,来模拟十字路口交通灯的模拟-8255 parallel interface, timer/timer 8253, 8259A interrupt controller connected to a computer, by 8253 produce 1Hz square wave, and progra
C51-INT0
- C51利用定时器中断0产生方波,通过调节定时周期,可以改变方波频率-Generated by the timer interrupt 0 C51 square wave, by adjusting the time cycle, square wave frequency can be changed
main
- 利用改变定时器输出比较通道的捕获值,当输出通道捕获值产生中断时,在中断中将捕获值改变,这时,输出的I/O会产生一个电平翻转,利用这种办法,实现不同频率的PWM输出。-Used to change the timer output value of a channel down the output channel capture value generate the interrupt, "the value will change, then, the output of course i
WatchDog
- 利用看门狗定时器产生中断,控制LED的闪烁 -Watchdog timer generates an interrupt to control the LED flashes
Microcontroller-basedquasi-wide-rangetreblemusicpr
- 采用适当的误差补偿,利用单片机定时中断的方法能在宽音域范围产生准确稳定的音频信号。本文以MCS-51单片机为例介绍单片机的音乐程序的编写,给出的程序,只须修改乐曲内容就可得到读者自己的程序。-The use of appropriate error compensation, the use of single chip timer interrupt method can produce a wide range of accurate and stable range of audio si
Test
- 利用状态机实现51单片机短按长按连发,利用定时器中断产生的软件标志计数,定时器中断可以完成其它任务,-Using the state machine to achieve the the 51 SCM Short Press Long Press bursts software timer interrupt flag count, the timer interrupt other tasks can be completed,
Timer0
- 利用CPU时间定时器0产生中断,在中断函数中实现AD的转换。-Use of CPU time timer 0 interrupt is generated, the interrupt function is implemented AD conversion.
EX02_TIME
- 这是一个TMS320VC5509A的使用和开发定时器的程序,示范了如何配置内部定时器的使用,以及如何利用定时器产生中断并作出中断响应-This is a TMS320VC5509A the use and development of the timer program that demonstrates how to configure the internal timer, the timer interrupt is generated and how to use and make th
EX06_WDT
- 这是一个TMS320VC5509A使用看门狗定时器的范例,示范了如何设置看门狗定时器,如何更新看门狗定时器以及如何对看门狗定时器超时的响应,利用超时响应产生中断并作出响应-This is an example of using the watchdog timer TMS320VC5509A demonstrates how to set the watchdog timer, watchdog timer, and how to update how the response of the w
1602time
- 利用msp430单片机中的定时器A定时产生中断,并利用中断进行时间累加,利用液晶屏(1602)显示时间。-Use msp430 microcontroller timer A timer interrupt is generated, and use interrupt time accumulation, the use of the LCD screen (1602) show the time.
Light-water
- 利用msp430单片机的定时器timeA定时产生中断,在中断中按顺序依次点亮led灯,结束后,再依次熄灭led灯。-Use msp430 microcontroller timer timeA timer generates an interrupt, the interrupt led lights lit in sequence, after the end, and then turn off led lights.
利用Timer产生中断 基于DE2开发板.doc
- 利用Timer产生中断 基于DE2开发板.doc
clock
- 利用定时器产生中断产生时钟,并在液晶上显示-Generates the clock using the timer interrupt is generated and displayed on the LCD
TIMER
- 采用的主控芯片LPC1768系列CORTEX-M3内核处理器,时钟晶振XT=12MHZ,系统时钟96MHZ,外部时钟PLCK.定时器匹配 查询定时器停止位、定时器匹配 查询中断标志:本程序利用定时器产生1S的时间中断,同时切换LED状态,采用查询方式 定时器匹配 定时器硬件延时函数:本程序使用定时器作为硬件延时函数;定时器匹配 定时器硬件延时函数: 本程序利用定时器产生1S的时间中断,同时切换LED状态,采用中断方式;定时器匹配输出:本程序利用定时器产生1S的时间中断,同时切换LED状态-Usi
Timer-interrupt-experiment
- 本程序利用定时器的中断功能,没400ms产生一个中断,实现LED闪烁功能。-This procedure using the timer interrupt function, did not produce a 400ms interrupt, to achieve LED flashing function.